﻿using System;
using System.Data;
using System.Data.Common;
using System.Collections.Generic;
using Joyintech.Common;
using Joyintech.Model.inpiao365;
using Joyintech.DALFactory;
using Joyintech.IDAL.inpiao365;


namespace Joyintech.BLL.inpiao365
{
    /// <summary>
    /// 业务逻辑类movieToday_BLL 的摘要说明。
    /// </summary>
    public partial class movieToday_BLL
    {
        /// <summary>
        /// 根据城市Id获取当日电影
        /// </summary>
        /// <param name="CityId"></param>
        /// <returns></returns>
        public DataTable GetMovie(int CityId)
        {
            DataSet ds = new DataSet();

            ds = dal.GetList("CityId=" + CityId);

            if (ds != null && ds.Tables.Count > 0)
            {
                return ds.Tables[0];
            }

            return new DataTable();
        }
    }
}

